package com.ruge.spring.cloud.gateway.base.token;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author 嘿丷如歌
 * @version V1.0
 * @Description:
 * @date 2021/4/26 21:50
 */
@FeignClient(name = "user")
public interface TokenCheckAPIs {

    @RequestMapping(value = "${tima.user.uri.checkToken}", method = RequestMethod.GET)
    CheckTokenResponse checkToken(@RequestParam("token") String token);

}